gtksearchentry: Apply header capitalization to the "Clear entry" tooltip
authorAutomeris naranja <104251-automerisnaranja@users.noreply.gitlab.gnome.org>
Sun, 12 Feb 2023 20:38:24 +0000 (17:38 -0300)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Feb 2023 20:53:54 +0000 (15:53 -0500)
HIG advises to use header capitalization in tooltip texts.

https://developer.gnome.org/hig/patterns/feedback/tooltips.html

gtk/gtksearchentry.c

index ed01f82d5a9b30fd6b5de5fd1af39b2f7cd3201a..2cbecf387e6627691b23d238a204658773887c8c 100644 (file)
@@ -623,7 +623,7 @@ gtk_search_entry_init (GtkSearchEntry *entry)
                               "accessible-role", GTK_ACCESSIBLE_ROLE_PRESENTATION,
                               "icon-name", "edit-clear-symbolic",
                               NULL);
-  gtk_widget_set_tooltip_text (entry->icon, _("Clear entry"));
+  gtk_widget_set_tooltip_text (entry->icon, _("Clear Entry"));
   gtk_widget_set_parent (entry->icon, GTK_WIDGET (entry));
   gtk_widget_set_child_visible (entry->icon, FALSE);